<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="height: 200px;width: 200px;background: red"
     onmouseenter="console.log('onmouseenter...')"
     onmouseleave="console.log('onmouseleave...')"
     onmouseover="console.log('onmouseover...')"
     onmouseout="console.log('onmouseout...')">
    <div style="height: 100px;width: 100px;background: blue">
    </div>
</div>
</body>
</html>